package com.service.dao.enums;

import lombok.Getter;

public class MemberEnums {

    public enum Merchant{
        /**
         * 非商家
         */
        invalid(0),
        /**
         * 商家
         */
        valid(1);

        @Getter
        private Integer code;

        Merchant(Integer code) {
            this.code = code;
        }
    }

    public enum StoreStatus{

        UNFROZEN (0,"正常"),

        FROZEN(1,"已冻结");

        @Getter
        private Integer code;
        @Getter
        private String msg;

        StoreStatus(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

    }
}
